package proyecto.modelo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the empleado_rol database table.
 * 
 */
@Entity
@Table(name="empleado_rol")
public class EmpleadoRol implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private EmpleadoRolPK id;

	//bi-directional many-to-one association to Empleadocp
    @ManyToOne
	private Empleadocp empleadocp;

    public EmpleadoRol() {
    }

	public EmpleadoRolPK getId() {
		return this.id;
	}

	public void setId(EmpleadoRolPK id) {
		this.id = id;
	}
	
	public Empleadocp getEmpleadocp() {
		return this.empleadocp;
	}

	public void setEmpleadocp(Empleadocp empleadocp) {
		this.empleadocp = empleadocp;
	}
	
}